<template>
  <RouterLink :to="path" class="xtx-more">
    <small>查看更多</small>
    <i class="iconfont icon-right"></i>
  </RouterLink>
</template>

<script>
export default {
  name: "More",
  props: {
    path: {
      type: String,
      default: "/"
    }
  }
};
</script>

<style scoped lang='less'>
.xtx-more {
  margin-bottom: 2px;
  small {
    font-size: 14px;
    vertical-align: middle;
    margin-right: 4px;
    color: #333;
  }
  i {
    font-size: 14px;
    vertical-align: middle;
    position: relative;
    top: 0px;
    color: #333;
  }
  &:hover {
    small,
    i {
      color: @xtxColor;
    }
  }
}
</style>